package com.chen.service.impl;

import com.chen.User;
import com.chen.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public User userById(Integer id) {
        return new User(id,"猪猪666",15);
    }

    @Override
    public User userWen(Integer id) {
        return new User(id,"Wen666",18);
    }

    @Override
    public User userUser(User user) {
        return user;
    }
}
